package com.wgchao.identityrightsmanagement.infrastructure.utils;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @作者：wgchao
 * @时间：20:45 2020/6/14 0014
 * @用途：
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class PageData<T> implements Serializable {

    private Long total;

    private int curr;

    private List<T> data;

}
